package cn.domypay.mail.bean;

/**
 *
 * <strong>Mailbox </strong><br>
 * <p>Company: SwaNet</p>
 * @author Tim huang  mail to: tim@swanet.com
 * @version 1.0
 */
public class Mailbox implements java.io.Serializable{
  /**
	 * 
	 */
	private static final long serialVersionUID = -6624592555400773865L;
	
	private String mailbox;
	private String username;
	private String password;
	private String pop3Host;
	private String smtpHost;
  	private String domain;
  	private String isAuth;
  
  /**
   * add by sunlifan 
   * at 4.17.2008
   */
  private String smtpSsl;
  private String smtpPort;
  private String pop3Port;
  private String pop3Ssl;
  /**
   * default construct
   */
  public Mailbox() {
  }
  public Mailbox(String mailbox,String username,String password,
                 String pop3Host,String domain,String smtpPort,String pop3Port,String smtpSsl,String pop3Ssl){
    this.mailbox = mailbox;
    this.username= username;
    this.password = password;
    this.pop3Host = pop3Host;
    this.domain = domain;
    this.smtpPort = smtpPort;
    this.pop3Port = pop3Port;
    this.smtpSsl = smtpSsl;
    this.pop3Ssl = pop3Ssl;
  }
  /**
   * get username
   * @return String usename
   */
  public String getUsername() {
    return username;
  }
  /**
   * get pop3 host address
   * @return String
   */
  public String getPop3Host() {
    return pop3Host;
  }
  /**
   * get password
   * @return String
   */
  public String getPassword() {
    return password;
  }

  /**
   * get mailbox
   * @return String mailbox
   */
  public String getMailbox() {
    return mailbox;
  }
  /**
   * get mailbox domain
   *
   * @return String domain
   */
  public String getDomain() {
    return domain;
  }

  /**
   * set mailbox username
   * @param username String
   */
  public void setUsername(String username) {
    this.username = username;
  }
  /**
   * set pop3 host address
   * @param pop3Host String
   */
  public void setPop3Host(String pop3Host) {
    this.pop3Host = pop3Host;
  }
  /**
   * set password
   * @param password String
   */
  public void setPassword(String password) {
    this.password = password;
  }

  /**
   * set mailbox
   * @param mailbox String
   */
  public void setMailbox(String mailbox) {
    this.mailbox = mailbox;
  }
	  /**
	   * set mailbox domain
	   * @param domain String
	   */
	  public void setDomain(String domain) {
	    this.domain = domain;
	  }
	  public String getSmtpHost() {
	    return smtpHost;
	  }
	  public String getIsAuth() {
	    return isAuth;
	  }
	  public void setSmtpHost(String smtpHost) {
	    this.smtpHost = smtpHost;
	  }
	  public void setIsAuth(String isAuth) {
	    this.isAuth = isAuth;
	  }
	public String getPop3Port() {
		return pop3Port;
	}
	public void setPop3Port(String pop3Port) {
		this.pop3Port = pop3Port;
	}
	public String getSmtpPort() {
		return smtpPort;
	}
	public void setSmtpPort(String smtpPort) {
		this.smtpPort = smtpPort;
	}
	public String getPop3Ssl() {
		return pop3Ssl;
	}
	public void setPop3Ssl(String pop3Ssl) {
		this.pop3Ssl = pop3Ssl;
	}
	public String getSmtpSsl() {
		return smtpSsl;
	}
	public void setSmtpSsl(String smtpSsl) {
		this.smtpSsl = smtpSsl;
	}


}
